/**********************************************************************
 * Project : WoWGuildRoster (http://www.codeplex.com/WowGuildRoster/)
 * Module  : DotNetWarcraft.WoWGuildRoster.Business.WoWGuildRoster
 **********************************************************************
 * 
 * 
 * 
 **********************************************************************
 * License : All code is subject to licensing terms per the Microsoft
 *   Permissive License (Ms-PL) v1.1. For full license information,
 *   refer to the packaged license.txt file.
 **********************************************************************
 * Revision History:
 * -----------------
 * 2007-07-29 -- Cliff Simpkins: Initial Version
 **********************************************************************
 */
using System;
using System.Collections.Generic;
using System.Text;

namespace DotNetWarcraft.WoWGuildRoster.Business {
  public class DNW_WoWGuildRoster {
    #region "Public Properties"
    public static int Version_Major {
      get {
        return 2;
      }
    }
    public static int Version_Minor {
      get {
        return 0;
      }
    }
    public static int Version_Build {
      get {
        return 0;
      }
    }
    #endregion

    #region "Public Properties - Helper Functions"
    public static System.Drawing.Imaging.ImageCodecInfo GetEncoderInfo(String mimeType) {
      int j;
      System.Drawing.Imaging.ImageCodecInfo[] _encoders;
      _encoders = System.Drawing.Imaging.ImageCodecInfo.GetImageEncoders();

      for (j = 0; j < _encoders.Length; ++j) {
        if (_encoders[j].MimeType == mimeType) {
          return _encoders[j];
        }
      }
      return null;
    }
    #endregion

  }
}
